package com.longcheer.android.calc;

import android.app.Activity;
import android.os.Bundle;
import android.widget.Button;
import android.widget.TextView;

public class CalcActivity extends Activity {
    
    private Button zero;
    private Button one;
    private Button two;
    private Button three;
    private Button four;
    private Button five;
    private Button six;
    private Button seven;
    private Button eight;
    private Button nine;
    
    private TextView display;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        getViews();
    }
    
    private void getViews() {
        zero = (Button)findViewById(R.id.btn_num_0);
        one = (Button)findViewById(R.id.btn_num_0);
        zero = (Button)findViewById(R.id.btn_num_0);
        zero = (Button)findViewById(R.id.btn_num_0);
        zero = (Button)findViewById(R.id.btn_num_0);
        zero = (Button)findViewById(R.id.btn_num_0);
        zero = (Button)findViewById(R.id.btn_num_0);
        zero = (Button)findViewById(R.id.btn_num_0);
        zero = (Button)findViewById(R.id.btn_num_0);
        zero = (Button)findViewById(R.id.btn_num_0);
        
        display = (TextView)findViewById(R.id.tv_display);
    }

    public TextView getDisplay() {
        return display;
    }
}